<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据绑定</title>

    <script src="https://unpkg.com/vue/dist/vue.js" type="text/javascript"></script>
</head>
<body>
<div id="app">
<h1>Your input is {{ message }}</h1>
<!--    注意引号-->
<input type=”text” v-model='message'>
</div>

<script>
    var vm = new Vue({
        el:'#app',
        data:{
            message:12
        }
    })
</script>
</body>
</html>